﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LibreriaDeClases
{
    class InsumoProveedor
    {
        private Insumo insumo;
        private Proveedor proveedor;     
        private Double precio;  
        private Int32 stock;

        public Insumo Insumo
        {
            get { return insumo; }
            set { insumo = value; }
        }

        public Proveedor Proveedor
        {
            get { return proveedor; }
            set { proveedor = value; }
        }
        public Double Precio
        {
            get { return precio; }
            set { precio = value; }
        }
        public Int32 Stock
        {
            get { return stock; }
            set { stock = value; }
        }
        public InsumoProveedor()
        {
        }
        public InsumoProveedor(ref Insumo ins, ref Proveedor prov, Double prec, Int32 st)
        {
            insumo = ins;
            proveedor = prov;
            precio = prec;
            stock = st;
        }
    }
}
